﻿  <form action="/Position/Create" method="POST" class="form-horizontal">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h4>New Position</h4>
        </div>
      <div class="modal-body">
                <div class="row-fluid">
                    <div class="form-group">
                        <div class="col-md-3">Name</div>
                        <div class="col-md-8">
                            <input type="text" class="form-control" name="Name" required="required" />
                        </div>
                    </div>
                                         <div class="form-group">
                        <div class="col-md-3">Department</div>
                        <div class="col-md-8">
                            @Html.DropDownList("DepartmentId",null,new {@class="form-control"})
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-3">Description</div>
                        <div class="col-md-8">
                            <textarea type="text" rows="5"class="form-control" name="Description" required="required"></textarea>
                        </div>
                        </div>      
                </div>
            </div>

        <div class="modal-footer">
            <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
            <input type="submit" value="Create" class="btn  green" />
        </div>
    </form>
